package com.xt.bean;

import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Set;

/**
 * 数据库（文章表）
 * Created by XT on 2018/5/4.
 */
@Document(collection="tb_article")
public class Article extends BaseBean {

    private String title;//：标题
    private String href;//：链接
    private String authorId;//：作者
    private String teacherName;//教师名称
    private String content;//：文章内容
    private String tag;//标签或者分类
    private Set<String> visitorsIds;//：['us_id(学生学号)']浏览过的人
    private Integer visitorsNum;//：浏览人数
    private String atype;//：类型
    private String knowledgePointId;//：知识点ID
    private String knowledgePointName;//：知识点名称
    private String sectionName;//章节名称
    private String courseName;//：课程名称
    private String origin;//：文章来源
    private String titleMD5;//：文章标题MD5
    private String contentMD5;//：文章标题MD5
    private String recommendedId;//：'us_id(学生学号)' 推荐的人（学习路线推荐文章）

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Set<String> getVisitorsIds() {
        return visitorsIds;
    }

    public void setVisitorsIds(Set<String> visitorsIds) {
        this.visitorsIds = visitorsIds;
    }

    public Integer getVisitorsNum() {
        return visitorsNum;
    }

    public void setVisitorsNum(Integer visitorsNum) {
        this.visitorsNum = visitorsNum;
    }

    public String getAtype() {
        return atype;
    }

    public void setAtype(String atype) {
        this.atype = atype;
    }

    public String getKnowledgePointId() {
        return knowledgePointId;
    }

    public void setKnowledgePointId(String knowledgePointId) {
        this.knowledgePointId = knowledgePointId;
    }

    public String getKnowledgePointName() {
        return knowledgePointName;
    }

    public void setKnowledgePointName(String knowledgePointName) {
        this.knowledgePointName = knowledgePointName;
    }

    public String getSectionName() {
        return sectionName;
    }

    public void setSectionName(String sectionName) {
        this.sectionName = sectionName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getTitleMD5() {
        return titleMD5;
    }

    public void setTitleMD5(String titleMD5) {
        this.titleMD5 = titleMD5;
    }

    public String getContentMD5() {
        return contentMD5;
    }

    public void setContentMD5(String contentMD5) {
        this.contentMD5 = contentMD5;
    }

    public String getRecommendedId() {
        return recommendedId;
    }

    public void setRecommendedId(String recommendedId) {
        this.recommendedId = recommendedId;
    }
}
